package com.zzuli.xyd.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * @auther pony
 * @create 2022-07-09 11:21
 */
@Data
public class Userinfo implements Serializable { //序列化
    @TableId(value="id",type= IdType.AUTO)
    private Integer id; //自增主键
    private String username; //用户名
    private String userpwd; //密码
    private String gender; //性别
    private String address; //地址
    private String phone; //电话

    public Userinfo() {
    }

    public Userinfo(String username, String userpwd) {
        this.username = username;
        this.userpwd = userpwd;
    }

}
